package com.yuanheng100.asset.model.fixed.borrower;

import com.yuanheng100.asset.consts.borrow.BorrowerType;
import com.yuanheng100.asset.consts.person.IDType;

/**
 * 借款人类<br>
 * @author 柏松
 *
 */
public abstract class Borrower
{
    /**
     * 姓名/公司名称
     */
    protected String name;

    /**
     * 证件号码
     */
    protected String idNumber;

    /**
     * 证件类型 参见：com.yuanheng100.asset.consts.person.IDType
     */
    protected IDType idType;

    /**
     * 借款人类型 参见：com.yuanheng100.asset.consts.borrow.BorrowerType
     */
    protected BorrowerType borrowerType;

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getIdNumber()
    {
        return idNumber;
    }

    public void setIdNumber(String idNumber)
    {
        this.idNumber = idNumber;
    }

    public IDType getIdType()
    {
        return idType;
    }

    public void setIdType(IDType idType)
    {
        this.idType = idType;
    }

    public BorrowerType getBorrowerType()
    {
        return borrowerType;
    }

    public void setBorrowerType(BorrowerType borrowerType)
    {
        this.borrowerType = borrowerType;
    }
}
